<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt"  prefix="c"%>


<c:choose>
	<c:when test="${not empty errorMessage}">
		<script>
			alert("Error : ${errorMessage}");
		</script>
	</c:when>
	
</c:choose>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Login Form</title>
<script src="js/jquery-1.8.0.js"></script>
 <script src="js/jquery-ui-1.8.23.custom.js"></script>
 
<link rel="stylesheet" href="css/jquery-ui-1.8.23.custom.css"/>

 	
</head>

<body>
<form:form id="form1" name="form1" method="post" action="j_spring_security_check" >
  <h2 align="center">Login Form</h2>
  <table width="322"  align="center" cellpadding="5" id="loginform">
    <tr>
      <td width="146" align="right">Username:</td>
      <td width="144"><label>
        <input type="text" name="j_username" id="j_username" />
      </label></td>
    </tr>
    <tr>
      <td align="right">Password:</td>
      <td><label>
        <input type="password" name="j_username" id="j_password"/>
      </label></td>
    </tr>
    <tr>
      <td colspan="2" align="center"><label>
        <input type="submit" name="save" id="save" value="Login !" />
      </label></td>
    </tr>
  </table>
  <p align="center">&nbsp;</p>
</form:form>
<script src="js/college.js"></script>
</body>
</html>
